<template>
  <div>我是B组件, {{ userInfo.name }}-{{ userInfo.mobile }}</div>
  <button @click="() => setToken('456')">setToken</button>
</template>

<script setup lang="ts">
import { userInfo, setToken } from '@/store'
</script>

<style scoped lang="scss"></style>
